Total Complexity | 68 |
Dependencies | 12 |
Dependents | 3 |
Total lines | 494 |
Lines of code | 326 |
Logical lines of code | 157 |
Comment lines | 112 |
Methods | 14 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
add_gift_card_fragments() | 26 | 178 | ||
add_gift_card_image_placeholder() | 46 | 8 | 37 | |
enqueue_scripts() | 48 | 5 | 34 | |
does_checkout_support_gift_card() | 64 | 6 | 9 | |
cart_contains_gift_card() | 62 | 4 | 12 | |
cart_contains_upon_release_pre_order() | 63 | 4 | 11 | |
init_gift_cards() | 65 | 4 | 9 | |
apply_gift_card() | 64 | 3 | 9 | |
is_new() | 76 | 2 | 3 | |
is_load() | 76 | 2 | 3 | |
__construct() | 62 | 1 | 11 | |
is_gift_card_enabled() | 78 | 1 | 3 | |
remove_gift_card() | 76 | 1 | 4 | |
delete_sessions() | 80 | 1 | 3 |